package com.wpml.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @description: 二级分类 vo
 * @author: wp
 * @date: 2020/6/5
 **/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Catalog2Vo {

    private String catalog1Id; // 一级分类id
    private List<Catalog3Vo> catalog3List; // 三级分类
    private String id; // 二级分类id
    private String name; // 二级分类 name


    /**
     * @description: 三级分类 VO
     * @author: wang pei
     * @date: 2020/6/5 15:28
     **/
    @Data
    @ToString
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catalog3Vo{
        private String catalog2Id; // 二级分类id
        private String id;
        private String name;
    }
}
